/**
 * 节点类型
 */
export interface NodeType {
  readonly id: string
  type: string
  label: string
  size?: number | number[]
  style?: {
    fill: string
  }
  x?: number
  y?: number
}

/**
 * 关系类型
 */
export interface EdgeType {
  readonly id: string
  readonly source: string
  readonly target: string
  type: string
  label: string
  style?: {
    stroke: string
  }
}

function d(a: NodeType) {}
